package cn.ytxy.ivos.vehicle.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName VehicleVO
 * @Description TODO
 * @Author renhong~Deng
 * @Date 2025/4/28 16:20
 * @Version 1.0
 */

@Data
public class VehicleVO {
    @ApiModelProperty(value = "车辆ID")
    private Long id;
    @ApiModelProperty(value = "车辆品牌")
    private String brand;
    @ApiModelProperty(value = "车牌号")
    private String license;
    @ApiModelProperty(value = "车辆型号")
    private String model;
    @ApiModelProperty(value = "车辆识别码")
    private String code;
    @ApiModelProperty(value = "车辆排量")
    private String displacement;
    @ApiModelProperty(value = "车辆状态")
    private String status;
    @ApiModelProperty(value = "车辆类型")
    private String type;
    @ApiModelProperty(value = "车辆颜色")
    private String color;
    @ApiModelProperty(value = "车辆公里数")
    private String kilometers;
    //创建时间与更新时间没有前端展示的需求，所以无需进行固定格式的转换
    @ApiModelProperty(value = "车辆注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date regTime;
    @ApiModelProperty(value = "车辆购买时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date buyTime;

    @ApiModelProperty(value = "车辆价格")
    private String price;
    @ApiModelProperty(value = "车辆电芯类型")
    private String batteryType;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "围栏绑定状态")
    private String geofence_bind_status;
    @ApiModelProperty(value = "围栏ID")
    private Long geofenceId;
}
